<template>
  <el-button v-bind="customizedAttrs" v-on="$listeners">
    <slot />
  </el-button>
</template>
<script>
export default {
    name:"SJbutton",
    inheritAttrs:false,
    props:{
        size:{
            type:String,
            default:"medium"
        }
    },
    computed:{
     customizedAttrs(){
         return {
             size:"medium",
             ...this.$attrs
         }  
     }
    }
};
</script>
<style></style>
